package com.ruoyi.system.domain.config;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 配置对象 vs_dramas_config
 * 
 * @author zzx
 * @date 2024-05-21
 */
@ApiModel("配置")
public class VsDramasConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("${comment}")
    private Integer siteId;

    /** 变量名 */
    @Excel(name = "变量名")
    @ApiModelProperty("变量名")
    private String name;

    /** 分组 */
    @Excel(name = "分组")
    @ApiModelProperty("分组")
    private String group;

    /** 变量标题 */
    @Excel(name = "变量标题")
    @ApiModelProperty("变量标题")
    private String title;

    /** 变量描述 */
    @Excel(name = "变量描述")
    @ApiModelProperty("变量描述")
    private String tip;

    /** 类型:string,text,int,bool,array,datetime,date,file */
    @Excel(name = "类型:string,text,int,bool,array,datetime,date,file")
    @ApiModelProperty("类型:string,text,int,bool,array,datetime,date,file")
    private String type;

    /** 变量值 */
    @Excel(name = "变量值")
    @ApiModelProperty("变量值")
    private String value;

    /** 变量字典数据 */
    @Excel(name = "变量字典数据")
    @ApiModelProperty("变量字典数据")
    private String content;

    /** 验证规则 */
    @Excel(name = "验证规则")
    @ApiModelProperty("验证规则")
    private String rule;

    /** 扩展属性 */
    @Excel(name = "扩展属性")
    @ApiModelProperty("扩展属性")
    private String extend;

    @ApiModelProperty("语言ID")
    private String langId;

    public String getLangId() {
        return langId;
    }

    public void setLangId(String langId) {
        this.langId = langId;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSiteId(Integer siteId) 
    {
        this.siteId = siteId;
    }

    public Integer getSiteId() 
    {
        return siteId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGroup(String group) 
    {
        this.group = group;
    }

    public String getGroup() 
    {
        return group;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTip(String tip) 
    {
        this.tip = tip;
    }

    public String getTip() 
    {
        return tip;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setValue(String value) 
    {
        this.value = value;
    }

    public String getValue() 
    {
        return value;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setRule(String rule) 
    {
        this.rule = rule;
    }

    public String getRule() 
    {
        return rule;
    }
    public void setExtend(String extend) 
    {
        this.extend = extend;
    }

    public String getExtend() 
    {
        return extend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("siteId", getSiteId())
            .append("name", getName())
            .append("group", getGroup())
            .append("title", getTitle())
            .append("tip", getTip())
            .append("type", getType())
            .append("value", getValue())
            .append("content", getContent())
            .append("rule", getRule())
            .append("extend", getExtend())
            .toString();
    }
}
